package com.gpl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 电池
对象 cell
 * 
 * @author luna
 * @date 2023-05-24
 */
public class Cell extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电池id */
    private Long cid;

    /** 电池名称 */
    @Excel(name = "电池名称")
    private String cname;

    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setCname(String cname) 
    {
        this.cname = cname;
    }

    public String getCname() 
    {
        return cname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cid", getCid())
            .append("cname", getCname())
            .toString();
    }
}
